const Mock = require('mockjs')

const data=[
    {
        username:'admin',
        password:'123',
        name:'张三',
        authcodes:['1001','1002','1003','1004','1005','1006',]
    },
    {
        username:'abc',
        password:'123',
        name:'李四',
        authcodes:['1001','1002','1003','1004',]
    },
 
]

const list = Mock.mock({
    'data|100-200':[{
        'id':'@id',
        'title':"@ctitle",
        'address':'@county(true)',
        'price|100-700':1,
        'state|1':[true,false],
    }]
})

module.exports={
    data,
    list:list.data
}

// module.exports = list.data